package org.jiuling.weather.moji.enums;

/**
 * 天气枚举
 * @author 紫灵
 * @date 2022年09月14日 00时10分45秒
 */
public enum WeatherEnum {
    SUNNY(0,30,"晴","Sunny","晴天","天晴"),
    CLEAR(0,30,"晴","Clear","晴天","天晴"),
    MOSTLY_SUNNY(0,30,"大部晴朗","Mostly Sunny","晴時多雲","陽光充沛"),
    MOSTLY_CLEAR(0,30,"大部晴朗","Mostly Clear","晴時多雲","大部晴朗"),
    CLOUDY(1,31,"多云","Cloudy","多雲","多雲"),
    PARTLY_CLOUDY(1,31,"少云","Partly Cloudy","少雲","少雲"),
    OVERCAST(2,2,"阴","Overcast","陰天","天陰"),
    SHOWERS(3,33,"阵雨","Showers","陣雨","驟雨"),
    SCATTERED_SHOWERS(3,33,"局部阵雨","Scattered Showers","局地陣雨","局部地區性驟雨"),
    LIGHT_SHOWERS(3,33,"小阵雨","Light Showers","小陣雨","零散驟雨"),
    HEAVY_SHOWERS(3,33,"强阵雨","Heavy Showers","強陣雨","間中有驟雨"),
    SNOW_SHOWERS(13,34,"阵雪","Snow Showers","陣雪","驟雪"),
    LIGHT_SNOW_SHOWERS(13,34,"小阵雪","Light Snow Showers","小陣雪","零散驟雪"),
    FOG(18,32,"雾","Fog","霧","薄霧"),
    FREEZING_FOG(18,32,"冻雾","Freezing Fog","凍霧","凍霧"),
    SANDSTORM(20,36,"沙尘暴","Sandstorm","沙塵暴","沙塵暴"),
    DUST(29,35,"浮尘","Dust","浮塵","浮塵"),
    DUST_STORM(29,35,"尘卷风","Dust Storm","塵捲風","塵捲風"),
    SAND(29,35,"扬沙","Sand","揚沙","揚沙"),
    HEAVY_SANDSTORM(20,36,"强沙尘暴","Heavy Sandstorm","強沙塵暴","強沙塵暴"),
    HAZE(45,46,"霾","Haze","霾","煙霞"),
    THUNDERSHOWER(4,4,"雷阵雨","Thundershower","雷陣雨","雷雨"),
    LIGHTNING (4,4,"雷电","Lightning","雷電","雷電"),
    THUNDERSTORM(4,4,"雷暴","Thunderstorm","雷暴","雷暴"),
    THUNDERSHOWER_WITH_HAIL(5,5,"雷阵雨伴有冰雹","Thundershower with Hail","雷陣雨伴有冰雹","雷雨伴有冰雹"),
    HAIL(5,5,"冰雹","Hail","冰雹","冰雹"),
    NEEDLE_ICE(5,5,"冰针","Needle Ice","冰針","冰針"),
    ICY(5,5,"冰粒","Icy","冰粒","冰粒"),
    SLEET(6,6,"雨夹雪","Sleet","雨夾雪","雨夾雪"),
    LIGHT_RAIN(7,7,"小雨","Light Rain","小雨","小雨"),
    MODERATE_RAIN(8,8,"中雨","Moderate Rain","中雨","中雨"),
    HEAVY_RAIN(9,9,"大雨","Heavy Rain","大雨","大雨"),
    RAINSTORM(10,10,"暴雨","Rainstorm","豪雨","暴雨"),
    HEAVY_RAINSTORM(10,10,"大暴雨","Heavy Rainstorm","大豪雨","大暴雨"),
    EXTREME_RAINSTORM(10,10,"特大暴雨","Extreme Rainstorm","超大豪雨","特大暴雨"),
    LIGHT_SNOW(14,14,"小雪","Light Snow","小雪","小雪"),
    MODERATE_SNOW(15,15,"中雪","Moderate Snow","中雪","中雪"),
    HEAVY_SNOW(16,16,"大雪","Heavy Snow","大雪","大雪"),
    BLIZZARD(17,17,"暴雪","Blizzard","暴雪","暴雪"),
    FREEZING_RAIN(19,19,"冻雨","Freezing Rain","凍雨","凍雨"),
    SNOW(15,15,"雪","Snow","雪","雪"),
    RAIN(8,8,"雨","Rain","雨","雨"),
    SMALL_TO_MODERATE_RAIN(7,7,",小到中雨","Small To ModerateRain","小到中雨","小到中雨"),
    MODERATE_TO_HEAVY_RAIN(9,9,",中到大雨","Moderate TO Heavy Rain","中到大雨","中到大雨"),
    HEAVY_TO_RAINSTORM(10,10,"大到暴雨","Heavy To Rainstorm","大到暴雨","大到暴雨"),
    SMALL_TO_MODERATE_SNOW(15,15,"小到中雪","Small To Moderate Snow","小到中雪","小到中雪");

    /** 白天图标 */
    private final int daytimeIcon;
    /** 夜晚图标 */
    private final int nightIcon;
    /** 中文名 */
    private final String cnName;
    /** 英文名 */
    private final String enName;
    /** 台湾繁体名 */
    private final String taiwanName;
    /** 香港繁体名 */
    private final String hongkongName;

    WeatherEnum(int daytimeIcon, int nightIcon, String cnName, String enName, String taiwanName, String hongkongName) {
        this.daytimeIcon = daytimeIcon;
        this.nightIcon = nightIcon;
        this.cnName = cnName;
        this.enName = enName;
        this.taiwanName = taiwanName;
        this.hongkongName = hongkongName;
    }

    public int getDaytimeIcon() {
        return daytimeIcon;
    }

    public int getNightIcon() {
        return nightIcon;
    }

    public String getCnName() {
        return cnName;
    }

    public String getEnName() {
        return enName;
    }

    public String getTaiwanName() {
        return taiwanName;
    }

    public String getHongkongName() {
        return hongkongName;
    }
}
